home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.1 (Developer) [x86]
/
NeXT Step 3.1 Intel dev.cdr.dmg
/
NextDeveloper
/
Examples
/
AppKit
/
UnderPressure
/
pressurerect.psw
< prev
next >
Wrap
Text File
|
1992-06-11
|
672b
|
28 lines
#if 0
pressure.psw -- wrap for setting special trackingrects for event gathering
attributes.
by Peter Graffagnino, NeXT Computer Inc.
You may freely copy, distribute, and reuse the code in this example.
NeXT disclaims any warranty of any kind, expressed or implied, as to its
fitness for any particular use.
#endif
/*
* set_pressure_rect() -- configures a rectangle for pressure sensitivity
* and/or event coalescing using the new form of settrackingrect.
*/
defineps set_pressure_rect(float x, y, w, h; boolean coalesce, pressure;
int trectNum)
x y w h [ /Coalesce coalesce /Pressure pressure ] trectNum null
settrackingrect
endps